
#ifndef PROPERTYBOARD_H
#define PROPERTYBOARD_H

#include <BMap>
#include <BScene>
#include <BLabel>
#include <BButton>
#include <BSpinBox>
#include <BGroupBox>
#include <BListWidget>
#include <BScrollWidget>

#include "Target.h"

class PropertyBoard : public BScrollWidget
{
	BOBJECT(PropertyBoard);
public:
	PropertyBoard(BWidget* parent = 0);
	~PropertyBoard();

	void setScene(BScene* scene);
	BScene* scene() const;

protected:
	void freshListItemIcons();

protected:
	void slotAssetChanged(BObject* object, const BValue& value);
	void slotTargetChanged(BObject* object, const BValue& value);

private:
	BMap<BString, BGroupBoxHolder>	_typedPanelMap;
	BHolder<BListWidget>			_listWidget;
	BHolder<BScene>					_scene;
};
#endif
